Ext.define('StaffServer.view.degreeStudy.DegreeStudyDetailWindow', {
	extend : "Ext.window.Window",
	alias : 'widget.degreeStudyDetailWindow',

	// 基础属性
	layout : 'fit',
	width : 300,
	height : 400,
	resizable : false,
	modal : true,
	closeAction : 'hide',
	border : false,
	constrain : true,
	animateTarget : Ext.getBody(),
	pageY : 50,
	pageX : document.body.clientWidth / 2 - 300 / 2,
	buttonAlign : 'right',
	
	buttonAlign : 'right',

	initComponent : function() {
		this.items = [{
			xtype: 'degreeStudyDetailForm'
		}];
		this.buttons = [ {
			text : '保存',
			iconCls : 'acceptIcon',
			action: 'submit'
		}, {
			text : '关闭',
			iconCls : 'deleteIcon',
			action: 'close'
		} ];
		this.callParent(arguments);
	}

});